﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Meqs.Entity
{
    [Serializable]
    public class TermInfo
    {
        private int _RID;
        private int _schoolYear;
        private int _term;
        private DateTime? _startDate;
        private DateTime? _endDate;
        private String _schoolMark;

        public TermInfo() 
        { }

        public TermInfo(int rid, int year, int term, DateTime start, DateTime end, String schoolMark)
        { 
            this._RID = rid;
            this._schoolYear = year;
            this._term = term;
            this._startDate = start;
            this._endDate = end;
            this.SchoolMark = schoolMark;
        }

        public int RID
        {
            get { return this._RID; }
            set { this._RID = value; }
        }

        public int SchoolYear
        {
            get { return this._schoolYear; }
            set { this._schoolYear = value; }
        }

        public int Term
        {
            get { return this._term; }
            set { this._term = value; }
        }

        public DateTime? StartDate
        {
            get { return this._startDate; }
            set { this._startDate = value; }
        }

        public DateTime? EndDate
        {
            get { return this._endDate; }
            set { this._endDate = value; }
        }

        public string SchoolMark
        {
            get { return this._schoolMark; }
            set { this._schoolMark = value; }
        }
    }
}
